package com.liudaolunhui.model.pro;

import org.junit.Test;

/**
 * 测试类
 * @author GFW
 * @date 2017-04-01
 * @function
 */
public class TestDemo {
	@Test
	public void demo1(){
		TwoPlug twoPlug = new TwoPlug();
		ThreePlugIf threePlugIf = new  ThreeAdapter(twoPlug );
		NoteBook noteBook = new NoteBook(threePlugIf);
		noteBook.charge();
	}
}
